package com.zjuh.goodboy.filter;

import java.util.HashMap;
import java.util.Map;

public class DefaultFilterContext implements FilterContext {

	private Map<String, Object> attributes = new HashMap<String, Object>();
	
	@Override
	public Object getAttribute(String name) {
		return attributes.get(name);
	}

	@Override
	public void setAttribute(String name, Object obj) {
		attributes.put(name, obj);
	}

}
